PROJECTENGRAM

INVERSE OF A MATRIX

Inverse of a Matrix

Tags: #◇CSMATH2 #◇Linear Algebra #◇Computational Mathematics #◇Matrices #◇Matrix Operations #◇Inverse Matrix #◇Square Matrix #◇Computer Science #◇Vector Spaces #◇Linear Transformations


◇Overview

The inverse of a square matrix AA is a matrix A−1A^{-1} such that AA−1=A−1A=IAA^{-1} = A^{-1}A = I. Not all square matrices are invertible.

◇Key Concepts

Only square matrices can have inverses AA is invertible (nonsingular) iff det⁡(A)≠0\det(A) \neq 0 If A−1A^{-1} exists, it is unique Computed via Gauss-Jordan: [A∣I]→[I∣A−1][A | I] \to [I | A^{-1}]

◇Details / Theory

Definition

An n×nn \times n matrix AA is invertible (nonsingular) if there exists an n×nn \times n matrix A−1A^{-1} such that:

AA−1=A−1A=InAA^{-1} = A^{-1}A = I_n

If no such matrix exists, AA is singular (not invertible).

◇Nonsingular Matrix

A matrix is nonsingular (invertible) iff:
det⁡(A)≠0\det(A) \neq 0 AA row-reduces to II The system Ax=bA\mathbf{x} = \mathbf{b} has a unique solution for every b\mathbf{b}

2×22 \times 2 Formula

For A=[abcd]A = \begin{bmatrix} a & b \\ c & d \end{bmatrix} with det⁡(A)=ad−bc≠0\det(A) = ad - bc \neq 0:

A−1=1ad−bc[d−b−ca]A^{-1} = \frac{1}{ad - bc} \begin{bmatrix} d & -b \\ -c & a \end{bmatrix}

Gauss-Jordan Method (General)

  1. Form the augmented matrix [A∣I][A \mid I]
  2. Apply ◇elementary row operations to reduce AA to II
  3. The right side becomes A−1A^{-1}: [A∣I]→[I∣A−1][A \mid I] \to [I \mid A^{-1}]

Stepped Calculation Trace: 3×33 \times 3 Gauss-Jordan Inversion

Find A−1A^{-1} for:
A=[123253108]A = \begin{bmatrix} 1 & 2 & 3 \\ 2 & 5 & 3 \\ 1 & 0 & 8 \end{bmatrix}

Step 1: Augment AA with I3I_3

[A∣I]=[123100253010108001][A \mid I] = \left[\begin{array}{ccc|ccc} 1 & 2 & 3 & 1 & 0 & 0 \\ 2 & 5 & 3 & 0 & 1 & 0 \\ 1 & 0 & 8 & 0 & 0 & 1 \end{array}\right]

Step 2: Forward Elimination (Create Zeroes Below Pivot 1)

Perform R2←R2−2R1R_2 \leftarrow R_2 - 2R_1 and R3←R3−R1R_3 \leftarrow R_3 - R_1:
[12310001−3−2100−25−101]\left[\begin{array}{ccc|ccc} 1 & 2 & 3 & 1 & 0 & 0 \\ 0 & 1 & -3 & -2 & 1 & 0 \\ 0 & -2 & 5 & -1 & 0 & 1 \end{array}\right]

Step 3: Eliminate Below Pivot 2

Perform R3←R3+2R2R_3 \leftarrow R_3 + 2R_2:
[12310001−3−21000−1−521]\left[\begin{array}{ccc|ccc} 1 & 2 & 3 & 1 & 0 & 0 \\ 0 & 1 & -3 & -2 & 1 & 0 \\ 0 & 0 & -1 & -5 & 2 & 1 \end{array}\right]

Step 4: Normalize Pivot 3

Perform R3←−1⋅R3R_3 \leftarrow -1 \cdot R_3:
[12310001−3−2100015−2−1]\left[\begin{array}{ccc|ccc} 1 & 2 & 3 & 1 & 0 & 0 \\ 0 & 1 & -3 & -2 & 1 & 0 \\ 0 & 0 & 1 & 5 & -2 & -1 \end{array}\right]

Step 5: Back-Substitution (Clear Column 3 Above Pivot 3)

Perform R2←R2+3R3R_2 \leftarrow R_2 + 3R_3 and R1←R1−3R3R_1 \leftarrow R_1 - 3R_3:

  • New R2=[0,1,0∣−2+15,1−6,0−3]=[0,1,0∣13,−5,−3]R_2 = [0, 1, 0 \mid -2 + 15, 1 - 6, 0 - 3] = [0, 1, 0 \mid 13, -5, -3]
  • New R1=[1,2,0∣1−15,0+6,0+3]=[1,2,0∣−14,6,3]R_1 = [1, 2, 0 \mid 1 - 15, 0 + 6, 0 + 3] = [1, 2, 0 \mid -14, 6, 3]

[120−146301013−5−30015−2−1]\left[\begin{array}{ccc|ccc} 1 & 2 & 0 & -14 & 6 & 3 \\ 0 & 1 & 0 & 13 & -5 & -3 \\ 0 & 0 & 1 & 5 & -2 & -1 \end{array}\right]

Step 6: Clear Column 2 Above Pivot 2

Perform R1←R1−2R2R_1 \leftarrow R_1 - 2R_2:

  • New R1=[1,0,0∣−14−26,6−2(−5),3−2(−3)]=[1,0,0∣−40,16,9]R_1 = [1, 0, 0 \mid -14 - 26, 6 - 2(-5), 3 - 2(-3)] = [1, 0, 0 \mid -40, 16, 9]

[I∣A−1]=[100−4016901013−5−30015−2−1][I \mid A^{-1}] = \left[\begin{array}{ccc|ccc} 1 & 0 & 0 & -40 & 16 & 9 \\ 0 & 1 & 0 & 13 & -5 & -3 \\ 0 & 0 & 1 & 5 & -2 & -1 \end{array}\right]

Thus, the inverse is:
A−1=[−4016913−5−35−2−1]A^{-1} = \begin{bmatrix} -40 & 16 & 9 \\ 13 & -5 & -3 \\ 5 & -2 & -1 \end{bmatrix}

Verification Check: A⋅A−1=I3A \cdot A^{-1} = I_3

AA−1=[123253108][−4016913−5−35−2−1]=[−40+26+1516−10−69−6−3−80+65+1532−25−618−15−3−40+0+4016+0−169+0−8]=[100010001]=I3A A^{-1} = \begin{bmatrix} 1 & 2 & 3 \\ 2 & 5 & 3 \\ 1 & 0 & 8 \end{bmatrix} \begin{bmatrix} -40 & 16 & 9 \\ 13 & -5 & -3 \\ 5 & -2 & -1 \end{bmatrix} = \begin{bmatrix} -40 + 26 + 15 & 16 - 10 - 6 & 9 - 6 - 3 \\ -80 + 65 + 15 & 32 - 25 - 6 & 18 - 15 - 3 \\ -40 + 0 + 40 & 16 + 0 - 16 & 9 + 0 - 8 \end{bmatrix} = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix} = I_3

Properties

PropertyFormula
Inverse of inverse(A−1)−1=A(A^{-1})^{-1} = A
Inverse of product(AB)−1=B−1A−1(AB)^{-1} = B^{-1}A^{-1}
Inverse of transpose(AT)−1=(A−1)T(A^T)^{-1} = (A^{-1})^T
Inverse of scalar multiple(kA)−1=1kA−1(kA)^{-1} = \frac{1}{k}A^{-1} for k≠0k \neq 0

◇Common Pitfalls

Assuming all square matrices are invertible — check det⁡(A)≠0\det(A) \neq 0. Forgetting reverse order in (AB)−1=B−1A−1(AB)^{-1} = B^{-1}A^{-1}. Non-square matrices never have a (two-sided) inverse.

◇Summary

TL;DR — A−1A^{-1} satisfies AA−1=IAA^{-1} = I. Exists iff det⁡(A)≠0\det(A) \neq 0. For 2×22 \times 2, use the formula. For larger matrices, use Gauss-Jordan ([A∣I]→[I∣A−1][A|I] \to [I|A^{-1}]). Product inverse reverses order.

◇Review Questions

  1. If AA is an invertible matrix and AB=ACAB = AC, prove that B=CB = C.
    • Proof: Left-multiply both sides by A−1A^{-1}: A−1(AB)=A−1(AC)  ⟹  (A−1A)B=(A−1A)C  ⟹  IB=IC  ⟹  B=CA^{-1}(AB) = A^{-1}(AC) \implies (A^{-1}A)B = (A^{-1}A)C \implies IB = IC \implies B = C.
  2. Explain why the inverse of an upper triangular matrix must also be an upper triangular matrix.
    • Explanation: During Gauss-Jordan elimination on [U∣I][U \mid I], all operations performed to reduce UU to II involve scaling rows and clearing entries above the diagonal pivots. Applying these row additions strictly from bottom to top preserves all zeroes below the main diagonal in the right-hand identity block, yielding an upper triangular inverse.
  3. Why does a matrix with a row of all zeros have no inverse?
    • Explanation: If matrix AA has a zero row, then for any matrix BB, the product ABAB will also have a corresponding row of all zeros. Since the identity matrix II has 11s on the diagonal and no zero rows, AB=IAB = I can never be satisfied.

Related: ◇Nonsingular Matrix — ◇Elementary Row Operation — ◇Elementary Matrices — ◇Matrix Multiplication — ◇Identity Matrix — ◇Special Types of Square Matrices Source / Reference:

◇References & Navigation

CONFIRMATION // 理解度の確認

ACTIVE RECALL VERIFICATION

Select an answer to verify conceptual comprehension and reveal the technical rationale.

Q1

What is the fundamental property of the inverse matrix A−1A^{-1} with respect to a square matrix AA?

Q2

What condition must be met for a square matrix AA to be invertible (nonsingular)?

Q3

For a 2×22 \times 2 matrix A=[abcd]A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}, what is the explicit formula for its inverse?

Q4

How is the inverse of a matrix product (AB)−1(AB)^{-1} calculated?

Q5

According to the properties of matrix inverses, what is the inverse of a scalar multiple (kA)−1(kA)^{-1} assuming k≠0k \neq 0?

Q6

In the Gauss-Jordan method for finding the inverse of a matrix AA, what is the initial setup?

Q7

What is the expected final outcome of applying row operations in the Gauss-Jordan method to find an inverse?

Q8

Which of the following statements about non-square matrices is true?

Q9

If a matrix AA is invertible, how many unique inverse matrices does it possess?

Q10

What is the relationship between the transpose and the inverse of a matrix?